TmDrawingArea
Section: C Library Functions (3)
Updated: 24 July 1993
Index
Return to Main Contents
NAME
TmDrawingArea
- the DrawingArea widget class
SYNOPSIS
xmDrawingArea
pathName [options]
DESCRIPTION
This is the
tcl
binding to the Motif DrawingArea widget.
CLASSES
The class name for resource files is
XmDrawingArea.
Resources are inherited from
TmManager, TmCore.
Methods are inherited from
TmCore.
RESOURCES
The new resources are
-
marginHeight
marginWidth
resizePolicy
METHODS
New methods for this class are
-
exposeCallback
inputCallback
resizeCallback
drawArc
drawImageString
drawLine
- drawArc gc x y width height angle1 angle2
-
This draws the arc using the graphics context
gc
which will have been obtained by
a "getGC" method.
- drawImageString gc x y string
-
This draws the
string
in the widget at the
x, y
coordinates
using the graphics context
gc,
which will have been obtained by
a "getGC" method.
- drawLine gc x1 y1 x2 y2
-
This draws the line from
x1, y1
to
x2, y2
using the graphics context
gc,
which will have been obtained by
a "getGC" method.
CALLBACK SUBSTITUTIONS
The substitutions supported for this class are
-
%reason
- the additional values are
-
expose
input
resize
BUGS
None known as yet.
AUTHOR
Jan Newmarch, University of Canberra
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- CLASSES
-
- RESOURCES
-
- METHODS
-
- CALLBACK SUBSTITUTIONS
-
- BUGS
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 20:43:53 GMT, June 11, 2022